﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tunnel
{
    class FireAlarm
    {
        public delegate void MessageReceiveHandler(object sender, MessageReciveEventArgs args);
        public event MessageReceiveHandler MessageReceive;

        protected virtual void OnMessageRecevie(MessageReciveEventArgs e)
        {
            MessageReceive?.Invoke(this, e);
        }
        public class MessageReciveEventArgs : EventArgs
        {
            string param { get; set; }
        }

        
    }
}
